using AutoMapper;
using Business.PurchaseManagement.Dto;
using Business.Models;

namespace Business.PurchaseManagement
{
    public class PurchaseAutoMapperProfile : Profile
    {
        public PurchaseAutoMapperProfile()
        {
            CreateMap<Purchase, PurchaseDto>();
            CreateMap<CreateOrUpdatePurchaseDto, Purchase>();
        }
    }
}
